﻿namespace SERFLITEMAX20.Viewer
{
    using System;

    public class ListViewTextCaseInsensitiveSort : ListViewTextSort
    {
        public ListViewTextCaseInsensitiveSort(int sortColumn, bool ascending) : base(sortColumn, ascending)
        {
        }

        protected override int OnCompare(string lhs, string rhs)
        {
            return string.Compare(lhs, rhs, true);
        }
    }
}

